package com.common;

public class NumberProcess {

	/**
	 * 将对象转换成数字
	 * @param input
	 * @return
	 */
	public static int convertToNumber(Object input) {
		int ret = 0;
		if (input != null) {
			ret = Integer.parseInt(input.toString());
		}

		return ret;
	}
}
